<template>
  <div class="zixun">
    <van-popup v-model="show">
      <img :src="img" alt="">
    </van-popup>
    <button class="btn" @click="pop">咨询</button>
  </div>
</template>

<script>
export default {
  name: 'zixun',
  data(){
    return {
      img:require('./ewm.jpg'),
      show:false
    }
  },
  methods:{
    pop(){
      this.show=true
    }
  }
}
</script>

<style scoped lang="less">
img{width: 265px;}
</style>
